Key Trigger

Key Watcher

See Also

Introduction to Triggers, Available Triggers

Description

Triggers the task when a hotkey combination is pressed or a word is typed on the keyboard.

Practical Usage

Useful for creating hotkey "shortcuts" for repetitive multi-step processes.

Return Value

When this trigger is activated - it automatically passes the AMTrigger object to the task.

The following properties are populated:

AMTrigger.Trigger
String
The name of the trigger that started the task.  For a Schedule Watcher, this value is always "AMKEYTRIGGER".
AMTrigger.WindowTitle
Text
 

Specifies the title of the Window in the foreground when the Key Watcher trigger was activated.
 

AMTrigger.WindowHandle
Number
 

Specifies the handle of the Window in the foreground when the Key Watcher trigger was activated.